package com.linked.mystyle.news.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.linked.mystyle.news.bean.param.NewsPageParam;
import com.linked.mystyle.news.bean.po.NewsInfoPO;

/**
 * @author :dbq
 * @date : 2022/10/28 15:19
 */
public interface INewsInfoService {
    IPage<NewsInfoPO> queryNewsPage(NewsPageParam param) throws Exception;

    boolean addNews(NewsInfoPO param) throws Exception;

    boolean doLikes(String newsId) throws Exception;
}
